package com.gitee.wsl.ext.number

import kotlin.math.log10

fun Double.log10(): Double = log10(this)
fun Float.log10(): Float = toDouble().log10().toFloat()